package com.cup.wx.demo.hystrix;

import java.util.ArrayList;
import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import com.cup.wx.demo.dto.TenantDto;
import com.cup.wx.demo.remote.TenantClient;

@Component
public class TenantClientHystrix implements TenantClient {
	
	protected final static Logger logger = LoggerFactory.getLogger(TenantClientHystrix.class);
	
    @Override
    public List<TenantDto> getTenantAll() {
    	
    	logger.warn("request iam tenant/token hystrix");
    	
        return new ArrayList<TenantDto>();
    }
}
